#pragma once
#pragma execution_character_set("utf-8")

#include <QDialog>
#include "ui_HttpDialog.h"
#include <QNetworkRequest>
#include <QNetworkReply>

class HttpDialog : public QDialog
{
	Q_OBJECT

public:
	HttpDialog(QWidget *parent = Q_NULLPTR);
	~HttpDialog();



	QNetworkAccessManager* m_accessManager;

private slots:
	void HttpRequestFinshed(QNetworkReply *reply);
	void OnGetRequest();
	void OnPostRequest();
private:
	Ui::HttpDialog ui;
};
